package top.yekongle.threadpool.common;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Objects;

/**
 * @author Hank Lau
 * @date 2022/8/25
 */
@Data
@AllArgsConstructor
public class Student {
	private String name;

	@Override
	public boolean equals(Object o) {
		if (this == o) return true;
		if (o == null || getClass() != o.getClass()) return false;
		Student student = (Student) o;
		return name.equals(student.name);
	}

}
